package ch3;

public class Baozhuangfangfa {

	public static void main(String[] args) {
		// int a=10/0;
		double d2 = 10.9 / 0.0;
		System.out.println(Double.isInfinite(d2));
		System.out.println(d2);
		System.out.println("double：");
		System.out.println(Double.MAX_VALUE);
		System.out.println(Double.MIN_VALUE);
		Double d = new Double("13.5667");
		double d1 = d.doubleValue();
		System.out.println(d1);
		System.out.println("Integer:");
		System.out.println(Integer.MAX_VALUE);
		System.out.println(Integer.MIN_VALUE);
		Integer j = new Integer("-200");
		int k = j.intValue();
		System.out.println(k);

		j *= 10;// 拆箱

		// Type.parseXxxx();
		// Integer.parseInt?
		// Double.parseDouble
	}

}
